<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib prefix="c" 
           uri="http://java.sun.com/jsp/jstl/core" %>   
           
            
    <p>查询页面</p>
    <table border="1">
    <tr>
        <td>编号</td>
        <td>通用名</td>
         <td>学名</td>
          <td>厂家</td>
           <td>许可证</td>
            <td>功能主治</td>
             <td>条形码</td>
              <td>标价</td>
               <td>是否可用</td>
                <td>添加人ID</td>
                 <td>添加人姓名</td>
                  <td>添加时间</td>
                  <td>操作</td>
                   
    </tr>
    <c:forEach var="item"  items="${list}">
    <tr>
    
        <td> ${item.id}</td>
         <td> ${item.commonName}</td>
          <td> ${item.name}</td>
         <td> ${item.vender}</td>
          <td> ${item.license}</td>
          <td>${item.function}</td>
          <td> ${item.taboo}</td>
         <td> ${item.showPrice}</td>
          <td> ${item.status}</td>
         <td> ${item.addUserId}</td>
          <td> ${item.addUserRealname}</td>
         <td> ${item.addTime}</td>
         <td>
              <a href="addProduct">编辑</a>
              <a href="list">查看</a>
              <a href="" >删除</a>
         </td>
       </c:forEach>
     </tr>
    </table>